package com.example.demo.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("wx_subscription")
public class SubscriptionEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String openId;
    private String deviceId;
    private Boolean subscribed;
    private LocalDateTime subscribeTime;
    private LocalDateTime expireTime;
}
